﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RayDen.RayEngine.ProgressivePhotonMapping
{
    public class StorageFactory 
    {

        public static IHashGrid Produce(List<PPMHitPoint> hitPoints, int w, int h)
        {
            return new HashGrid(hitPoints, w, h);
            //return new Grid(hitPoints.Count+1, hitPoints);
        }
    }
}
